#include <string>
#include <iostream>
struct Person {
    std::string name;
    int age;
    double height;
    double weight;

    // 成员函数
    void print() {
        // 成员函数可以隐士访问成员变量
        std::cout << "name: " << name << ", age: " << age << ", height: " << height << ", weight: " << weight << std::endl;
    }
};

void pint(Person person) {
    // 非成员函数不能隐士访问成员变量
    std::cout << "name: " << person.name 
    << ", age: " << person.age 
    << ", height: " << person.height 
    << ", weight: " << person.weight 
    << std::endl;
}

void class_learn() {
    
}